package com.rms.hkpc.view;

import com.rms.hkpc.apiresult.ApiResultData;
import com.rms.hkpc.db.dto.VersionDto;

import java.io.File;

public interface IMainView {
    void onGetVersionSuccess(ApiResultData<VersionDto> apiResultData);
    void onGetVersionFails(Exception e);

    void onDownloadFileSuccess(File file);
    void onDownloadProgress(int progress);
    void onDownloadFails(Exception e);
}
